<template>
  <div class="registerbox">
    <el-card class="gray-card no-border no-margin-top" shadow="never">
      <el-form ref="form" class="form">
        <h2>室内质控失控处理记录</h2>
        <el-row>
          <el-col :span="12">
            <el-form-item label="项目名称:" label-width="20%">
              {{ form.projectName }}
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="仪器名称:" label-width="20%">
              {{ form.instrumentName }}
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="质控品批号:" label-width="20%">
              {{ form.batchNo }}
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="可能原因:" label-width="20%">
              {{ form.reson }}
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="失控报告人:" label-width="20%">
              {{ form.handler }}
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="组长:" label-width="20%">
              {{ form.leader }}
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="处理日期:" label-width="20%">
              {{ form.processTime }}
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <h2>最终原因</h2>
          <el-col>
            试剂：变质
          </el-col>
          <el-col>
            备注：试剂开瓶时间较长，可能劣化
          </el-col>
        </el-row>

        <el-row>
          <h2>处理措施</h2>
          <el-col>
            校准后重做质控，质控通过。不再往该试剂内添加新试剂，用完后换新试剂重新校准。
          </el-col>
          <el-col>
            失控纠正后，是否可进行常规检测： 否
          </el-col>
          <el-col>
            如当天已进行标本检测，应执行失控前标本验证：已执行
          </el-col>
        </el-row>

        <el-row>
          <h2>对临床影响</h2>
          <el-col>
            无
          </el-col>
        </el-row>

        <el-row>
          <h2>预防措施</h2>
          <el-col>
            加强人员培训，注意试剂开瓶有效期，放置新试剂时在瓶身上写上日期，及时更换新试剂。
          </el-col>
        </el-row>
      </el-form>
      <el-divider/>
      <h2>
        <el-button type="primary">下载</el-button>
        <el-button type="primary">返回</el-button>
      </h2>
    </el-card>
  </div>
</template>

<script>
// import { getOutControl } from '../../../../api/business/outControl'

export default {
  name: 'detail',
  data() {
    return {
      detailData: {},
      form: {
        projectName: '',
        instrumentName: '',
        batchNo: '',
        reson: '',
        handler: '',
        leader: '',
        processTime: ''
      }
    }
  },
  methods: {

    handleData(obj) {
      this.form = obj
      // this.queryParams.detectionId = obj.id
      // this.processParams.detectionId = obj.id
      // this.$nextTick(() => {
      //   this.getTableList();
      //   this.getProcessData();
      // })
    }
  }

}
</script>

<style scoped>

</style>
